/* Standard Style für die Klasse HtmlForm */

@import url("std_defaults.css");

/**********************************Standardwerte**********************************/
:root {
  /* Farben festlegen *
  --color_btn_bg:                  #F2F2F2;            /* HtmlForm::Farbe (Hintergrund) eines Buttons *
  --color_hover_btn_bg:            #E6E6E6;            /* HtmlForm::Farbe beim Hover (Hintergrund) eines Buttons *
  --color_focus_input:             #5BA2DA;            /* HtmlForm::Farbe beim Focus eines Elements *
  --color_error:                   #A94442;            /* HtmlForm::Farbe im Fehlerfall *
  --color_error_back:              #F2DEDE;            /* HtmlForm::Hintergrundfarbe im Fehlerfall *
  --color_success:                 #3C763D;            /* HtmlForm::Farbe im Erfolgsfall *
  --color_success_back:            #DEF1E1;            /* HtmlForm::Farbe im Erfolgsfall */
}
/*********************************************************************************/

/******************************* Allgemeiner div *********************************/
.std_div {
  margin: 3px;
}

.std_div.std_country {
  width: 10%;
  display: inline-block;
  float: left;
}
.std_div.std_postcode {
  width: 20%;
  display: inline-block;
}
.std_div.std_place {
  width: 66%;
  display: inline-block;
  float: right;
}

/*********************************************************
* Mobilfall **********************************************
*********************************************************/
@media only screen and (max-width: 671px){
  /*Handy*/
  .std_div.std_country, .std_div.std_postcode, .std_div.std_place { 
    width: auto; 
    display: block; 
    float: none; 
  }
}
/*********************************************************************************/

/************************************ Label **************************************/
.std_label {
  text-align: left;
  padding: 7px 5px 3px 5px;
}
/*********************************************************************************/

/****************************** Input - Textfelder *******************************/
.std_text {
  border: 1px solid gray;
  border-radius: 5px;
  padding: 5px;
  width: 100%;
  outline: 0;
}
/*********************************************************************************/

/******************************* Input - Textarea ********************************/
.std_textarea {
  border: 1px solid gray;
  border-radius: 5px;
  padding: 5px;
  width: 100%;
  outline: 0;
}
/*********************************************************************************/

/*********************************** Checkbox ************************************/
.std_checkbox {
  margin: 5px !important;
  vertical-align: top;
}
.std_checkbox + label {
  max-width: calc(100% - 30px) !important;
}
/*********************************************************************************/

/*********************************** Combobox ************************************/
.std_combobox {
  border: 1px solid gray;
  border-radius: 5px;
  padding: 5px;
  width: 100%;
  outline: 0;
}
/*********************************************************************************/

/*********************************** Radiobox ************************************/
.std_radio {
  background-color: white;
  border: 1px solid gray;
  border-radius: 5px;
  padding: 5px;
  width: 100%;
  outline: 0;

}
.std_radio > div{
  width: 100%;
}
.std_radio input{
  margin: 5px;
}
/*********************************************************************************/

/************************************ Datum **************************************/
.std_date {
  
}
/*********************************************************************************/

/******************************* Google-reCAPTCHA ********************************/
.g-recaptcha {
  padding: 30px 0;
}
/*********************************************************************************/

/************************************ Button *************************************/
.std_button {
  background-color : #F2F2F2;
  background-color : var(--color_btn_bg, #F2F2F2);
  color: black;
  border: 1px solid gray;
  border-radius: 5px;
  padding: 5px;
  margin-left: 5px;
  float: right;
}

.std_button:hover {
  background-color: #E6E6E6;
  background-color: var(--color_hover_btn_bg, #E6E6E6);
}
/*********************************************************************************/

/************************************ Submit *************************************/
.std_submit {
  background-color : #F2F2F2;
  background-color : var(--color_btn_bg, #F2F2F2);
  border: 1px solid gray;
  border-radius: 5px;
  padding: 5px;
  float: right;
}

.std_submit:hover {
  background-color: #E6E6E6;
  background-color: var(--color_hover_btn_bg, #E6E6E6);
}
/*********************************************************************************/

/****************************** Meldungen & Focus ********************************/
                        /***********Default***********/
.std_text:focus, .std_textarea:focus, .std_checkbox:focus, .std_combobox:focus, .std_radio input:focus {
  /* Fokus-Rahmen blau */
  border-color: #5BA2DA !important;
  border-color: var(--color_focus_input, #5BA2DA) !important;
  -webkit-box-shadow: 0 0 5px 0 var(--color_focus_input, #5BA2DA);
	-moz-box-shadow: 0 0 5px 0 var(--color_focus_input, #5BA2DA);
  box-shadow: 0 0 5px 0 #5BA2DA;
	box-shadow: 0 0 5px 0 var(--color_focus_input, #5BA2DA);
}

                        /************Success***********/
.std_success > input, .std_success > textarea, .std_success > select {
  /* Rahmen grün */
  border-color: #3C763D !important;
  border-color: var(--color_success, #3C763D) !important;
  /* Hintergrund grün */
  background-color: #DEF1E1 !important;
  background-color: var(--color_success_back, #DEF1E1) !important;
}

.std_success > input:focus, .std_success > textarea:focus, .std_success > select:focus {
  /* Fokus-Rahmen grün */
  border-color: #3C763D !important;
  border-color: var(--color_success, #3C763D) !important;
  -webkit-box-shadow: 0 0 5px 0 var(--color_success);
	-moz-box-shadow: 0 0 5px 0 var(--color_success);
  box-shadow: 0 0 5px 0 #3C763D;
	box-shadow: 0 0 5px 0 var(--color_success, #3C763D);
}

.std_success > label {
  /* Rahmen grün */
  color: #3C763D !important;
  color: var(--color_success, #3C763D) !important;
}

                        /************Error************/
.std_error > input, .std_error > textarea, .std_error > select, .std_error > .g-recaptcha {
  /* Rahmen rot */
  border-color: #A94442 !important;
  border-color: var(--color_error, #A94442) !important;
}

.std_error > input, .std_error > textarea, .std_error > select, .std_error > .g-recaptcha {
  /* Hintergrund rot */
  background-color: #F2DEDE !important;
  background-color: var(--color_error_back, #F2DEDE) !important;
}

.std_error > label {
  /* Schrift rot */
  color: #A94442 !important;
  color: var(--color_error, #A94442) !important;
}

.std_error > input:focus, .std_error > textarea:focus, .std_error > select:focus {
  /* Fokus-Rahmen rot */
  border-color: #A94442 !important;
  border-color: var(--color_error, #A94442) !important;
  -webkit-box-shadow: 0 0 5px 0 var(--color_error);
	-moz-box-shadow: 0 0 5px 0 var(--color_error);
  box-shadow: 0 0 5px 0 #A94442;
	box-shadow: 0 0 5px 0 var(--color_error, #A94442);
}
/*********************************************************************************/


/***************************************NEXT**************************************/

/*********************************************************************************/